home *** CD-ROM | disk | FTP | other *** search
- #ifndef __DBM_H__
- #define __DBM_H__
- #ifdef __cplusplus
- extern "C" {
- #endif
- #ident "$Revision: 1.6 $"
- /*
- *
- * Copyright 1992, Silicon Graphics, Inc.
- * All Rights Reserved.
- *
- * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
- * the contents of this file may not be disclosed to third parties, copied or
- * duplicated in any form, in whole or in part, without the prior written
- * permission of Silicon Graphics, Inc.
- *
- * RESTRICTED RIGHTS LEGEND:
- * Use, duplication or disclosure by the Government is subject to restrictions
- * as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
- * and Computer Software clause at DFARS 252.227-7013, and/or in similar or
- * successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
- * rights reserved under the Copyright Laws of the United States.
- */
- /*
- * Copyright (c) 1980 Regents of the University of California.
- * All rights reserved. The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
- *
- * @(#)dbm.h 5.2 (Berkeley) 85/06/26
- */
-
- #ifndef NULL
- /*
- * this is lunacy, we no longer use it (and never should have
- * unconditionally defined it), but, this whole file is for
- * backwards compatability - someone may rely on this.
- */
- #define NULL ((char *) 0)
- #endif
-
- #include "ndbm.h"
-
- int dbminit(const char *);
- datum fetch(datum);
- int store(datum, datum);
- int delete(datum);
- datum firstkey(void);
- datum nextkey(datum);
- void dbmclose(void);
- #if (defined(_SGI_SOURCE) && !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) && !defined(_ABI_SOURCE))
-
- int dbminit64(const char *);
- datum fetch64(datum);
- int store64(datum, datum);
- int delete64(datum);
- datum firstkey64(void);
- datum nextkey64(datum);
- void dbmclose64(void);
- #endif
- #ifdef __cplusplus
- }
- #endif
- #endif /* !__DBM_H__ */
-